import Vue from 'vue'
import App from './App.vue'

import DerenTccClient from '../packages/dr-tcc/index.js'

Vue.prototype.$dr = new Vue();
Vue.config.productionTip = false


new Vue({
  render: h => h(App),
}).$mount('#app')

const clientConfig = {
  isVisible: true,
	iconSrc: '',
	wsAddress: '123.60.3.219',
	wsPort: '9864',
	autoLogin: true,
	password: '2zj5TuW6E=Gv7RT?UKMt',
	extensionNumber: '1100',
	operatorId: '1780525391648133120',
	sockUrl: 'http://123.60.3.219:8901/admin/ws',
	callInAudio: require('@/assets/callIn.mp3'),
	calloutAudio: require('@/assets/callout.mp3'),
	callDtmfAudio: require('@/assets/dtmf.mp3')
};

const client = new DerenTccClient(clientConfig);